<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    span {
      font-size: 100px;
    }

    .middle {
      /*
        用来指定行内元素、行内块元素的垂直对齐方式
         ● baseline: 默认值，使元素的基线与父元素的基线对齐
         ● top
         ● middle
         ● bottom
       */
      vertical-align: middle;
    }
  </style>
</head>

<body>
  <span class="middle">Hello world!</span>
  <img class="middle" src="../../assets/images/Cheems.jpg">
  <img src="../../assets/images/Cheems.jpg">
</body>

</html>